#ifndef STARTMENU_H
#define STARTMENU_H

#include <QWidget>
#include <QPushButton>

class StartMenu : public QWidget {
    Q_OBJECT  // 必须添加此行
public:
    explicit StartMenu(QWidget *parent = nullptr);
    ~StartMenu();  // 若有虚析构函数需实现

signals:
    void gameStarted();  // 信号声明

private:
    QPushButton *startButton;
    QPushButton *exitButton;
};

#endif // STARTMENU_H
